import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/css/global.css'
import axios from 'axios';
// import echarts from 'echarts'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min.js'

Vue.use(ElementUI);
//将axios挂载到http请求上
Vue.prototype.$http = axios
// Vue.prototype.$echarts = echarts
//设置默认访问路径
axios.defaults.baseURL= "http://localhost:8888"

Vue.config.productionTip = false

new Vue({
	axios,
	router,
	render: h => h(App),
}).$mount('#app')
